<?php

$id = (int)$query_string[2];

$sql->mysql_select("programs", "*","program_id = ".$id);
$form_value = $sql->get_line();

$payment = explode(";", $form_value['program_payment']);
foreach ($payment as $payment)
{
	$form_value[$payment] = 1;
}

$form_value['action'] = "edit";
$form_value['module'] = "programs.list";
$form_value['id'] = $id;

$page_title = "Program szerkesztése";
$page_text = $theme->show_form($module_db);

?>